<a href="/users" class="btn btn-success">添加用户</a>
<table class="table table-condensed table-bordered table-striped table-hover">
    <thead>
       <th>名称</th>

       <th>管理</th>
    </thead>
    <tbody>
    <% for(var i = 0; i < beans.length; i++) { %>

    <tr>
       <td>
          <%= beans[i].name%>

       </td>
       <td>
           <%- link_to('修改','/users/findone/'+beans[i]._id)%>
           <%- link_to('删除','/users/remove/'+beans[i]._id)%>

        </td>
    </tr>

    <% } %>
   </tbody>
    <tfoot>
      <tr>

        <td colspan="5">
            <%-pagination%>
        </td>

      </tr>

    </tfoot>
</table>